<?php 
	$page = $_REQUEST['page'];
	$next_friday = date('d/m/Y', strtotime('next friday'));
	$next_three_day = date('d/m/Y', strtotime('+3 days next friday'));
?>

<?php require "includes/widgets/header.php";?>
    <div id="container">
    	<div id="content-left">
        	<?php
            	include "includes/widgets/global_search.php";
			?>
        </div>
        <div id="content-right">
        	<?php
				switch($page){
					case 'detail':
						include "includes/pages/hotel_detail.php";
					break;
					case 'search':
						include "includes/pages/search_result.php";
					break;
					default :
						include "includes/pages/search_result.php";
					break;
				}
			?>
        </div>
        <div class="clear"></div>
    </div>
<?php require "includes/widgets/footer.php";?>